package com.job.client.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"com.job.client.common.rabbitmqConfig","com.job.client.gateway"})
/*
* 三个微服务同时扫描了一个配置类，产生了三个名称、类型相同的bean，所以我干脆不在三个微服务扫描，而是统一在网关中扫描
* */
public class ClientGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ClientGatewayApplication.class);
    }
}
